operator(-) Interface

public interface operator(-)

Module Procedures

private function csr_mtx_sub(a, b) result(rst)

Subtracts two CSR matrices.

Arguments

Type IntentOptional Attributes Name
class(csr_matrix), intent(in) :: a

The first CSR matrix.

class(csr_matrix), intent(in) :: b

The second CSR matrix.

Return Value type(csr_matrix)

The resulting CSR matrix.